projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e45aa
)
wayland: Stop using surface types
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 8 Mar 2020 20:37:13 +0000
(13:37 -0700)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 12 Mar 2020 19:30:10 +0000
(15:30 -0400)
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index f31ff99045012d864b269d47ef3b4ddf5c75dbf0..f063563aae1e67be8428a296385545205fde14a9 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-749,7
+749,7
@@
gdk_wayland_device_grab (GdkDevice *device,
GdkWaylandSeat *wayland_seat = GDK_WAYLAND_SEAT (gdk_device_get_seat (device));
GdkWaylandPointerData *pointer = GDK_WAYLAND_DEVICE (device)->pointer;
- if (
gdk_surface_get_surface_type (surface) == GDK_SURFACE_TEMP
&&
+ if (
GDK_IS_DRAG_SURFACE (surface)
&&
gdk_surface_get_mapped (surface))
{
g_warning ("Surface %p is already mapped at the time of grabbing. "